package com.mystnihon.tdroid.application;

import android.app.Application;

import com.mystnihon.tdroid.manager.AppManager;

public class TDroidApplication extends Application {
	private AppManager mTorrentManager;

	@Override
	public void onCreate() {
		mTorrentManager = new AppManager(getApplicationContext());
		super.onCreate();
	}

	public AppManager getAppManager() {
		if (mTorrentManager == null) {
			mTorrentManager = new AppManager(getApplicationContext());
		}
		return mTorrentManager;
	}
}
